package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-08-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEP_T")
public class GwepT extends PO<GwepT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWEPENT", type = IdType.INPUT)
    private String GWEPENT;

    private String GWEPDOCNO;

    private BigDecimal GWEPSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEPDOCDATE;

    private String GWEP001;

    private BigDecimal GWEP002;

    private String GWEP003;

    private String GWEP004;

    private String GWEP005;

    private String GWEP006;

    private BigDecimal GWEP007;

    private BigDecimal GWEP008;

    private String GWEP009;

    private String GWEP010;

    private String GWEP101;

    private BigDecimal GWEP102;

    private String GWEP103;

    private String GWEP104;

    private String GWEP105;

    private String GWEP106;

    private String GWEP107;

    private String GWEP108;

    private String GWEP109;

    private String GWEP110;

    private String GWEPPLANT;

    private String GWEPLEGAL;

    private String GWEPACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWEPUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWEPGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWEPMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWEPTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEPDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWEPORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWEPORIU;

    private String GWEPMLEGAL;



    @Override
    protected Serializable pkVal() {
        return this.GWEPENT;
    }

}
